package city.spring.modules.oldman.repository;

import city.spring.modules.oldman.entity.OldmanUtilitybillEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 存储库：老人水电费
 *
 * @author 谢金婷
 * @date 2020-09-05 23:14:23
 */
@Repository
public interface OldmanUtilitybillRepository extends BaseMapper<OldmanUtilitybillEntity> {
    /**
     * 根据oldmanId查找老人水电费
     *
     * @param oldmanId
     * @return
     */
    List<OldmanUtilitybillEntity> getUtilitybillByOldmanId(@Param("oldmanId") String oldmanId);
}